﻿/*
Author: yang_wanjun
Create: 2011/05/12
Update: 2011/05/12
 */

//show reply comment 
Comment.prototype.show_reply = function(button_id, form_id) {
	var commentForm = document.getElementById(form_id);
	var obj = document.getElementById(button_id);
	if (commentForm != null) {
		if (commentForm.style.display == "none") {
			commentForm.style.display = "block";
			obj.className = "comment_footer_reply_tab";
		} else {
			commentForm.style.display = "none";
			obj.className = "comment_button_small";
		}
	}
}